package arraydemo;

import java.util.Arrays;

public class Array
{

	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		// 动态初始化
		int array [] = null;
		array = new int[9];
		
		array = new int[] {0,1,2};
		// 静态初始化
		int array1 [] = {1,1,1,1};
		array1.toString();
		Arrays.sort(array);
		int a[][] = new int [3][6];
		for (int i=0;i<a.length;i++) {
			
		}
		System.arraycopy(array, 0, a, 0, 0);
		int b [][] = {{1,1,1},{2,2,2,2},{3,3,3,3,3,3}};
	}

}
